Using the reference image